/**
 * Copyright (c) 2015-2017, Henry Yang 杨勇 (gismail@foxmail.com).
 * <p>
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * <p>
 * http://www.apache.org/licenses/LICENSE-2.0
 * <p>
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.mapfinal.server.mgrdb.model;

import com.jfinal.plugin.activerecord.IBean;

import com.lambkit.common.model.LambkitModel;

/**
 * @author yangyong 
 * @website: www.lambkit.com
 * @email: gismail@foxmail.com
 * @date 2021-09-06
 * @version 1.0
 * @since 1.0
 */
@SuppressWarnings("serial")
public abstract class MfTableBase<M extends MfTableBase<M>> extends LambkitModel<M> implements IBean {

	public String getTableName() {
		return "mf_table";
	}
	
	@Override
	public Class<?> _getPrimaryType() {
		// sqlite 会导致 JFinal 中 getPrimaryType 获取到的都是 String 类型
		return Integer.class;
	}
    
	public java.lang.Integer getTbid() {
		return this.get("tbid");
	}

	public void setTbid(java.lang.Integer tbid) {
		this.set("tbid", tbid);
	}
	public java.lang.String getName() {
		return this.get("name");
	}

	public void setName(java.lang.String name) {
		this.set("name", name);
	}
	public java.lang.String getTitle() {
		return this.get("title");
	}

	public void setTitle(java.lang.String title) {
		this.set("title", title);
	}
	public java.lang.String getAlias() {
		return this.get("alias");
	}

	public void setAlias(java.lang.String alias) {
		this.set("alias", alias);
	}
	public java.lang.Integer getStoreid() {
		return this.get("storeid");
	}

	public void setStoreid(java.lang.Integer storeid) {
		this.set("storeid", storeid);
	}
	public java.lang.String getGuid() {
		return this.get("guid");
	}

	public void setGuid(java.lang.String guid) {
		this.set("guid", guid);
	}
	public java.lang.String getMark() {
		return this.get("mark");
	}

	public void setMark(java.lang.String mark) {
		this.set("mark", mark);
	}
	public java.lang.String getDelname() {
		return this.get("delname");
	}

	public void setDelname(java.lang.String delname) {
		this.set("delname", delname);
	}
	public java.lang.String getTag() {
		return this.get("tag");
	}

	public void setTag(java.lang.String tag) {
		this.set("tag", tag);
	}
	public java.lang.Integer getStatus() {
		return this.get("status");
	}

	public void setStatus(java.lang.Integer status) {
		this.set("status", status);
	}
	public java.lang.Long getCreated() {
		return this.get("created");
	}

	public void setCreated(java.lang.Long created) {
		this.set("created", created);
	}
}
